package scau.erps.service;

import java.util.List;

import scau.erps.entity.Loan;

/**
 * 贷款服务类接口
 * @author DCJ
 *
 */
public interface LoanService {
	public void applyShortLoan(int amount);
	public void applyLongLoan(int amount,int year);
	public void updateLoan(Loan loan);
	public List<Loan> getAllLoans();	
	public List<Loan> getLoans(int team_Id, String loanType, String status);	
	public List<Loan> getReturnLoans(int team_Id,String loanType);
	public void repayShortLoan(List<Loan> list);
	public boolean repayLongLoan(int team_Id);
	public int getLoanAmount(int team_Id, String loanType);
	public Loan getLoanById(int loanId);
}
